[INFO] fetching crate incrementer 3.0.0...
[INFO] fixing incrementer-3.0.0 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate incrementer 3.0.0 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate incrementer 3.0.0
[INFO] finished tweaking crates.io crate incrementer 3.0.0
[INFO] tweaked toml for crates.io crate incrementer 3.0.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate incrementer 3.0.0 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 89 packages to latest compatible versions
[INFO] [stderr]       Adding generic-array v0.14.7 (available: v0.14.9)
[INFO] [stderr]       Adding ink_env v3.4.0 (available: v5.1.1)
[INFO] [stderr]       Adding ink_metadata v3.4.0 (available: v5.1.1)
[INFO] [stderr]       Adding ink_primitives v3.4.0 (available: v5.1.1)
[INFO] [stderr]       Adding ink_storage v3.4.0 (available: v5.1.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5b1a35c29682773316b12c872161999988cf09f575687d0eac9770bed596c53f
[INFO] running `Command { std: "docker" "start" "5b1a35c29682773316b12c872161999988cf09f575687d0eac9770bed596c53f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5b1a35c29682773316b12c872161999988cf09f575687d0eac9770bed596c53f" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5b1a35c29682773316b12c872161999988cf09f575687d0eac9770bed596c53f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5b1a35c29682773316b12c872161999988cf09f575687d0eac9770bed596c53f" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling hashbrown v0.17.1
[INFO] [stderr]    Compiling winnow v1.0.3
[INFO] [stderr]    Compiling toml_datetime v1.1.1+spec-1.1.0
[INFO] [stderr]     Checking konst_macro_rules v0.2.19
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling typenum v1.20.1
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling const_format_proc_macros v0.2.34
[INFO] [stderr]    Compiling parity-scale-codec v3.7.5
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.3
[INFO] [stderr]    Compiling derive_more-impl v1.0.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]     Checking konst v0.2.20
[INFO] [stderr]    Compiling secp256k1-sys v0.6.1
[INFO] [stderr]    Compiling arrayvec v0.7.7
[INFO] [stderr]    Compiling byte-slice-cast v1.2.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking ink_prelude v3.4.0
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking impl-serde v0.3.2
[INFO] [stderr]     Checking sha3 v0.10.9
[INFO] [stderr]     Checking rand v0.8.6
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking ink_allocator v3.4.0
[INFO] [stderr]     Checking array-init v2.1.0
[INFO] [stderr]     Checking derive_more v1.0.0
[INFO] [stderr]     Checking const_format v0.2.36
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling toml_parser v1.1.2+spec-1.1.0
[INFO] [stderr]    Compiling toml_edit v0.25.12+spec-1.1.0
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling proc-macro-crate v3.5.0
[INFO] [stderr]    Compiling parity-scale-codec-derive v3.7.5
[INFO] [stderr]    Compiling scale-info-derive v2.11.6
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling ink_lang_ir v3.4.0
[INFO] [stderr]     Checking secp256k1 v0.24.3
[INFO] [stderr]    Compiling ink_storage_derive v3.4.0
[INFO] [stderr]     Checking scale-info v2.11.6
[INFO] [stderr]     Checking ink_engine v3.4.0
[INFO] [stderr]    Compiling ink_lang_codegen v3.4.0
[INFO] [stderr]    Compiling ink_primitives v3.4.0
[INFO] [stderr]     Checking ink_metadata v3.4.0
[INFO] [stderr]     Checking ink_env v3.4.0
[INFO] [stderr]    Compiling ink_lang_macro v3.4.0
[INFO] [stderr]     Checking ink_storage v3.4.0
[INFO] [stderr]     Checking ink_lang v3.4.0
[INFO] [stderr]     Checking incrementer v3.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating lib.rs from 2021 edition to 2024
[INFO] [stderr] error: errors present after applying fixes to crate `incrementer`
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> lib.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | /     pub struct Incrementer {
[INFO] [stdout]  9 | |         value: i32,
[INFO] [stdout] 10 | |     }
[INFO] [stdout]    | |_____^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout]    = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout]  8 ~     unsafe(pub struct Incrementer {
[INFO] [stdout]  9 |         value: i32,
[INFO] [stdout] 10 ~     })
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]  --> lib.rs
[INFO] [stderr]   = cause: error: expected item after attributes
[INFO] [stderr]             --> lib.rs:7:5
[INFO] [stderr]              |
[INFO] [stderr]            7 |     #[ink(storage)]
[INFO] [stderr]              |     ^^^^^^^^^^^^^^^
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 1 previous error
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.73s
[INFO] [stderr] crater-edition-check: incrementer v3.0.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking incrementer v3.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Storage`
[INFO] [stdout]   --> lib.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | /     pub struct Incrementer {
[INFO] [stdout]  9 | |         value: i32,
[INFO] [stdout] 10 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std`
[INFO] [stdout]    = help: consider adding `__ink_dylint_Storage` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Constructor`
[INFO] [stdout]   --> lib.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | /         pub fn new(init_value: i32) -> Self {
[INFO] [stdout] 15 | |             Self { value: init_value }
[INFO] [stdout] 16 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std`
[INFO] [stdout]    = help: consider adding `__ink_dylint_Constructor` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Constructor`
[INFO] [stdout]   --> lib.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 | /         pub fn default() -> Self {
[INFO] [stdout] 20 | |             Self::new(Default::default())
[INFO] [stdout] 21 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std`
[INFO] [stdout]    = help: consider adding `__ink_dylint_Constructor` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Storage`
[INFO] [stdout]   --> lib.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | /     pub struct Incrementer {
[INFO] [stdout]  9 | |         value: i32,
[INFO] [stdout] 10 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std`
[INFO] [stdout]    = help: consider adding `__ink_dylint_Storage` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Constructor`
[INFO] [stdout]   --> lib.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | /         pub fn new(init_value: i32) -> Self {
[INFO] [stdout] 15 | |             Self { value: init_value }
[INFO] [stdout] 16 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std`
[INFO] [stdout]    = help: consider adding `__ink_dylint_Constructor` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Constructor`
[INFO] [stdout]   --> lib.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 | /         pub fn default() -> Self {
[INFO] [stdout] 20 | |             Self::new(Default::default())
[INFO] [stdout] 21 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std`
[INFO] [stdout]    = help: consider adding `__ink_dylint_Constructor` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> lib.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | /     pub struct Incrementer {
[INFO] [stdout]  9 | |         value: i32,
[INFO] [stdout] 10 | |     }
[INFO] [stdout]    | |_____^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout]  8 ~     unsafe(pub struct Incrementer {
[INFO] [stdout]  9 |         value: i32,
[INFO] [stdout] 10 ~     })
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `incrementer` (lib) due to 1 previous error; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "5b1a35c29682773316b12c872161999988cf09f575687d0eac9770bed596c53f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5b1a35c29682773316b12c872161999988cf09f575687d0eac9770bed596c53f", kill_on_drop: false }`
[INFO] [stdout] 5b1a35c29682773316b12c872161999988cf09f575687d0eac9770bed596c53f
